package com.example.schooljava.service;

import com.example.schooljava.pojo.bo.UploadBO;
import com.example.schooljava.pojo.dto.UploadDTO;
import com.example.schooljava.pojo.entity.Teacher;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.schooljava.pojo.bo.StudentsOfClassBO;
import com.example.schooljava.pojo.bo.StudentsScoreOfClassBO;
import com.example.schooljava.pojo.bo.TeachersBO;
import com.example.schooljava.util.Result;

import java.util.ArrayList;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author LDH
 * @since 2022/08/11
 */
public interface TeacherService extends IService<Teacher> {
    Result teacherLogin(String account,String password);
    Result teacherRegister(Teacher teacher);
    Result findAllScore(StudentsOfClassBO studentsOfClassBO);
    Result findOneScore(StudentsOfClassBO studentsOfClassBO);
    Result getTeacherList(Long teacher);
    Result getStudentOfCurr(StudentsOfClassBO studentsOfClassBO);
    Result getGrade(Long teacherid);
    Result getClassName(Long teacherid, Integer grade);
    Result getTeacher(TeachersBO teachersBO);
    Result delectTeacher(ArrayList<String> list);
    Result getStudentScoreOfClass(StudentsScoreOfClassBO studentsScoreOfClassBO);
    Result getRouter(Long tno);
    Result saveUpload(UploadBO uploadBO);
    Result getUpload(String tno);

}
